package com.talos.service.codegen;

import java.io.File;

public class GeneratorUtils {

    private GeneratorUtils() {

    }

    public static String joinPaths(String... paths) {
        return String.join(File.separator, paths);
    }

    public static String joinPathsLast(String... paths) {
        return File.separator + GeneratorUtils.joinPaths(paths) + File.separator;
    }

    public static String joinPathsFirst(String... paths) {
        return File.separator + GeneratorUtils.joinPaths(paths) + File.separator;
    }

    public static String joinPathsBoth(String... paths) {
        return File.separator + GeneratorUtils.joinPaths(paths) + File.separator;
    }

}
